package com.snmp.smn.beans;

public class Agent {
	private int agentId;
	
	private String agentName;
	
	private String agentIP;
	
	private int agentPort;

	public Agent(int agentId, String agentName, String agentIP, int agentPort) {
		super();
		this.agentId = agentId;
		this.agentName = agentName;
		this.agentIP = agentIP;
		this.agentPort = agentPort;
	}

	public int getAgentId() {
		return agentId;
	}

	public void setAgentId(int agentId) {
		this.agentId = agentId;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getAgentIP() {
		return agentIP;
	}

	public void setAgentIP(String agentIP) {
		this.agentIP = agentIP;
	}

	public int getAgentPort() {
		return agentPort;
	}

	public void setAgentPort(int agentPort) {
		this.agentPort = agentPort;
	}
	
	@Override
	public String toString() {
		return "Agent Id : " + agentId + " Agent name : " + agentName + 
					" IP : " + agentIP + " Port : " + agentPort;
	}
}
